import request from '@/utils/request'

// 自动上线能耗
export function consumptionzdsx(zdsxTime) {
  return request({
    url: '/device/consumption/zdsx?zdsxTime='+zdsxTime,
    headers:{
      isToken: false
    },
    method: 'get'
  })
}

// 预热罩折线图
export function consumptionyrz(yrzTime) {
  return request({
    url: '/device/consumption/yrz?yrzTime='+yrzTime,
    headers:{
      isToken: false
    },
    method: 'get'
  })
}

// 发泡蜡折线图
export function consumptionfpl(fplTime) {
  return request({
    url: '/device/consumption/fpl?fplTime='+fplTime,
    headers:{
      isToken: false
    },
    method: 'get'
  })
}

// 制冷设备折线图
export function consumptionzl(zlTime) {
  return request({
    url: '/device/consumption/zl?zlTime='+zlTime,
    headers:{
      isToken: false
    },
    method: 'get'
  })
}


// 螺旋提升机折线图
export function consumptionlxsx(lxsxTime) {
  return request({
    url: '/device/consumption/lxsx?lxsxTime='+lxsxTime,
    headers:{
      isToken: false
    },
    method: 'get'
  })
}


// 压柱机一折线图
export function consumptionyzjA(yzjATime) {
  return request({
    url: '/device/consumption/yzjA?yzjATime='+yzjATime,
    headers:{
      isToken: false
    },
    method: 'get'
  })
}

// 压柱机二折线图
export function consumptionyzjB(yzjBTime) {
  return request({
    url: '/device/consumption/yzjB?yzjBTime='+yzjBTime,
    headers:{
      isToken: false
    },
    method: 'get'
  })
}

// 油化蜡折线图
export function consumptionyhl(yhlTime) {
  return request({
    url: '/device/consumption/yhl?yhlTime='+yhlTime,
    headers:{
      isToken: false
    },
    method: 'get'
  })
}
